import Home from "../pages/Home/Home";
import List from '../pages/List/List'
import Deatil from "../pages/Deatil/Deatil";
import Error from '../pages/Error'
const routes =[
    {
        path:'/',
        element:<Home />
    },
    {
        path:'/deatil/:id',
        element:<Deatil />
    },
    {
        path:'/list',
        element:<List />
    },
    {
        path:'*',
        element:<Error />
    },
]

export default routes